package com.zhihuishu.micro.course.openapi.cc.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 章对象
 * 
 * @author zhanglikun
 * @date 2016年1月13日 下午7:23:36
 */
public class ChapterWebDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id; // 章ID

    private String name; // 章名称

    private Integer rank; // 章序号

    private Integer limitDay; // 计划学习天数

    private Integer courseId; // 课程ID(TBL_COURSE)

    private String description; // 简介

    private List<LessonWebDto> lessons;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getLimitDay() {
        return limitDay;
    }

    public void setLimitDay(Integer limitDay) {
        this.limitDay = limitDay;
    }

    public List<LessonWebDto> getLessons() {
        return lessons;
    }

    public void setLessons(List<LessonWebDto> lessons) {
        this.lessons = lessons;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "ChapterWebDto [id=" + id + ", name=" + name + ", rank=" + rank + ", limitDay=" + limitDay
                + ", courseId=" + courseId + ", description=" + description + ", lessons=" + lessons + "]";
    }
    
}
